import Vue from 'vue'
import Router from 'vue-router'
import index from '../view/index'
import precharge from '../view/precharge'
import prePaySuccess from '../view/prePaySuccess'
import frequently  from '../view/frequentlyNum'
import yueCharge  from '../view/yueCharge'
import login  from '../view/login'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/precharge',
      name: 'precharge',
      component: precharge
    },
    {
      path: '/prePaySuccess',
      name: 'prePaySuccess',
      component: prePaySuccess
    },
     {
      path: '/frequently',
      name: 'frequently',
      component: frequently
    },
    {
      path: '/yueCharge',
      name: 'yueCharge',
      component: yueCharge
    },
    {
      path: '/login',
      name: 'login',
      component: login
    }
  ]
})
